
#ifndef _CONFIG_H_
#define _CONFIG_H_

#include <string>
#include <map>
#include <list>
using namespace std;


class CMake{
public:
    CMake(const string &fileName = "cmake.conf");
    ~CMake();

    void ListFiles(string path);

    bool SetCmakeFile();

    bool CheckConfig();

private:
    bool IsHaveIndDir(const string &path);

private:
    string config_file;
    bool config_ok;
    map<string , string > config_map;
    list<string>  c_cpp_file_list;
    list<string>  inc_dir_list;
    string pwd;
};

#endif